Skip to content

build: MSI and .dmg installers and a tag-driven release workflow - #8

Merged
DeepDiver1975 merged 1 commit into
mainfrom
build/installers
Oct 26, 2026
Merged

DeepDiver1975 merged 1 commit into
mainfrom
build/installers

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Collaborator

Installers for Windows and macOS, and the workflow that publishes them. Targets main.

Windows — packaging/windows/Freizeichen.wxs (WiX 5, as in lagebuch)

  • Self-contained single-file win-x64, installed per machine into Program Files\Freizeichen, with a Start-menu entry.
  • Registers Freizeichen as capable of opening tel: links: ProgId Freizeichen.tel → "Freizeichen.exe" "%1", Software\Freizeichen\Capabilities\URLAssociations\tel, RegisteredApplications\Freizeichen. Windows lets no installer make itself the default. The user picks it once under Default apps, which Als Standard festlegen in the settings window opens.

macOS — packaging/macos/build-dmg.sh (adapted from lagebuch's)

  • Freizeichen.app with CFBundleURLTypes → tel and bundle ID io.github.deepdiver1975.freizeichen, signed ad hoc, in a drag-to-Applications .dmg; built separately for arm64 and x64.

These names are exactly what the code uses (WindowsTelHandlerRegistration.ProgId / RegisteredApplicationName, MacTelHandlerRegistration.BundleId, AssemblyName). The tel: registration depends on them matching.

release.yml

  • A v* tag builds both and publishes a GitHub release with SHA256SUMS.txt and German install notes (unsigned → SmartScreen / Gatekeeper steps).
  • A PR that touches packaging/** or release.yml, or a manual run, builds the installers as artifacts only. That is what this PR's checks do, so the packaging is proven before anything is tagged.
  • Actions pinned to SHAs of their latest releases; pipx run zizmor . reports no findings.

Not covered by CI: installing and clicking a tel: link on a real Windows 11 PC and a real Mac. The artifacts from this PR's run are what to try.

🤖 Generated with Claude Code

packaging/windows/Freizeichen.wxs installs a self-contained win-x64 build
per machine with a Start-menu entry and registers Freizeichen as capable of
opening tel: links (ProgId, Capabilities, RegisteredApplications); the
user picks it once under Default apps.

packaging/macos/build-dmg.sh wraps the osx-arm64 or osx-x64 build in an
ad-hoc-signed Freizeichen.app that declares tel in CFBundleURLTypes.

release.yml builds both on a v* tag and publishes them with
SHA256SUMS.txt. A pull request that touches the packaging, or a run by
hand, builds the installers as artifacts only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@DeepDiver1975
DeepDiver1975 merged commit aa7de13 into main Oct 26, 2026
9 checks passed
@DeepDiver1975
DeepDiver1975 deleted the build/installers branch October 26, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant